PEOutputToPrinter

Use PEOutputToPrinter to direct output to a printer. See Remarks below.

C Syntax
BOOL CRPE_API PEOutputToPrinter (
        short printJob,
        short nCopies );
Parameters

printJob

Specifies the print job that you want to send to a printer.

nCopies

Specifies the number of report copies that you want to print. Pass 0 to preserve the existing setting.

Returns
Remarks
VB Syntax

VB Sample Code for Custom Print Link

Declare Function PEOutputToPrinter Lib "crpe32.dll" (
    ByVal printJob As Integer, ByVal nCopies As Integer ) As Integer
Delphi Syntax
function PEOutputToPrinter (
    printJob: Word;
    nCopies: integer
    ): Bool stdcall;
dBASE for Windows Syntax

EXTERN CLOGICAL PEOutputToPrinter (CWORD, CWORD) CRPE.DLL



Seagate Software IMG Holdings, Inc.
http://www.seagatesoftware.com
Support services:
http://support.seagatesoftware.com